package com.ebyte;

import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.builder.SpringApplicationBuilder;
import org.springframework.context.annotation.PropertySource;

@SpringBootApplication
@PropertySource("classpath:application.properties")
public class Application {

    public static void main(String[] args) {
        //SpringApplication.run(Application.class, args);

        new SpringApplicationBuilder(Application.class)
                .properties("spring.config.location=classpath:/application.yaml").run(args);
    }
}
